package com.software.course.service;

import com.software.course.enity.Course;
import com.software.course.enity.User;

import java.util.List;

public interface AdminService {
    public List<User> listStu();

    public boolean deleteStuById(Integer id);

    public User queryStuById(Integer id);

    public int queryStuByAccount(String account);

    public boolean updateStu(User user);

    public boolean addStu(User user);

    public List<User> lisTeacher();

    public List<Course> listCourse();

    public boolean deleteCourseById(Integer id);

    public int updateCourse(Course course);

    public int addCourse(Course course);

    public Course queryCourseById(Integer id);
}
